﻿@{
    ViewBag.Title = "修改供应商";
}

@model FMS.UI.Areas.Factory.ViewModel.Factory_Machines_Supplier
@section headsecion{
    <style type="text/css">
        body {
            margin: 0;
            align-self: center;
        }

        .tbList {
            border: 1px solid #ddd;
            height: 99.5%;
            border-collapse: collapse;
            margin: 0;
            padding: 0;
            width: 100%;
            border-top-width: 0;
            border-bottom-width: 0;
            border-left-width: 0;
            border-right-width: 0;
        }

            .tbList td, th {
                border: 1px solid #ddd;
                padding: 0 5px;
                width: 60px;
                height: 35px;
            }

        #tdName {
            text-align: center;
        }

        #form0 {
            margin: 0;
            padding: 0;
        }
    </style>
    <script type="text/javascript">
        $(function() {

        });

        function Begin() {

        };

        function Complete(xbrobj) {
            $.msgProcess(xbrobj.responseText, function() {
                $.globalHelper.closeCommonWindow();
                $.globalHelper.reloadSeletecTabDataGrid();
            });
        };
    </script>
}
@using (Ajax.BeginForm(new AjaxOptions()
{
    OnBegin = "Begin",
    OnComplete = "Complete"

}))
{
    <table id="tbList" class="tbList">
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_Num) </td>
            <td> @Html.TextBoxFor(o => o.supplier_Num)@Html.ValidationMessageFor(o => o.supplier_Num)</td>
        </tr>
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_Name)</td>
            <td>@Html.TextBoxFor(o => o.supplier_Name)@Html.ValidationMessageFor(o => o.supplier_Name)</td>
        </tr>
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_Bank)</td>
            <td>@Html.TextBoxFor(o => o.supplier_Bank)@Html.ValidationMessageFor(o => o.supplier_Bank)</td>
        </tr>
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_Account)</td>
            <td>@Html.TextBoxFor(o => o.supplier_Account)@Html.ValidationMessageFor(o => o.supplier_Account)</td>
        </tr>
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_TFN)</td>
            <td>@Html.TextBoxFor(o => o.supplier_TFN)@Html.ValidationMessageFor(o => o.supplier_TFN)</td>
        </tr>

        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_TEL)</td>
            <td>@Html.TextBoxFor(o => o.supplier_TEL)@Html.ValidationMessageFor(o => o.supplier_TEL)</td>
        </tr>
        <tr>
            <td id="tdName">@Html.DisplayNameFor(o => o.supplier_Address)</td>
            <td>@Html.TextBoxFor(o => o.supplier_Address)@Html.ValidationMessageFor(o => o.supplier_Address)</td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center; border: 0 solid white; margin-bottom: 0"><input type="submit" value="确定" style="height: 27px; width: 68px;  cursor: pointer" /></td>
        </tr>
    </table>
}